var express = require('express');
var router = express.Router();

var merchant = {
    add : require('./add'),
    list : require('./list'),
    update : require('./update'),
    find : require('./find')
};

router.post('/add', merchant.add);
router.post('/list', merchant.list);
router.post('/update', merchant.update);
router.post('/find', merchant.find);
// router.post('/qrcode', merchant.qrcode);

module.exports = router;
